package com.blog.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.blog.entity.SysMessage;
import com.blog.mapper.SysMessageMapper;
import com.blog.service.SysMessageService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @author cgx
 * @Date 2022/3/25 22:58
 */
@Service
public class SysMessageServiceImpl extends ServiceImpl<SysMessageMapper, SysMessage> implements SysMessageService {

    @Resource
    SysMessageMapper messageMapper;

    @Override
    public List<Map<String, Object>> queryUserNewMessage(Map<String, Object> map) {
        return messageMapper.queryUserNewMessage(map);
    }
}
